<?php
/*
 *      login.php
 *      
 *      Copyright 2011 unro <unro.ua@gmail.com>
 *      
 *      This program is free software; you can redistribute it and/or modify
 *      it under the terms of the GNU General Public License as published by
 *      the Free Software Foundation; either version 2 of the License, or
 *      (at your option) any later version.
 *      
 *      This program is distributed in the hope that it will be useful,
 *      but WITHOUT ANY WARRANTY; without even the implied warranty of
 *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *      GNU General Public License for more details.
 *      
 *      You should have received a copy of the GNU General Public License
 *      along with this program; if not, write to the Free Software
 *      Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
 *      MA 02110-1301, USA.
 */

?>
<html><head><title>Авторизация</title>
<link href=css/style.css rel=stylesheet type=text/css />
<meta http-equiv=content-type content="text/html;charset=utf8" /></head>
<body>
<form method=post action=./dologin.php>
<br><br>
<div id=login>
<div class=login_head></div>
<div class=login_body>
<center><b>Вход в панель голосования</b></center>
<table align=center>
<tr><td>Логин:</td><td><input name=login type=text size=20 maxlength=20></td></tr>
<tr><td>Пароль:</td><td><input name=pass type=password size=20 maxlength=25></td></tr>
<tr><td colspan=2 align=center><input type=submit value=Войти!></td></tr></table></form>
<br>
<?php 
if($_GET["errno"]!=0)
{	include ("./inc/core.php");
	echo "<font color=\"#FF0000\"><center><b>".PrintError($_GET["errno"])."</b></center></font>";
} 
?></div><div class=login_foot></div></div></body></html> 
